package com.mq.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author gxd
 * @since 2025/6/6
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysDept implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    private Long parentId;

    private String deptName;

    private String leader;

    private String phone;

    private String email;

    private Integer sort;

    private Integer status;

    private Integer deleted;

    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String remark;

    private String groupId;
}
